package main.java.ssm.service;

import ssm.pojo.User;

import java.util.List;

/**
 * Author: silence
 * Date: 17-5-26
 */
public interface IUserService {

    User getUserById(int userId);

    List<User> findAllByQuery();

    int addUser(User user);

    User findUserByUsername(String username);

    int updateByPrimaryKey(User record);

    int deleteByPrimaryKey(Integer Id);


}
